package com.ali.config;

import com.ali.service.StudentService;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;

/**
 * 静态代理类
 */
@Slf4j
@Data
public class StudentServiceProxy implements StudentService {
    private StudentService studentService;

    @Override
    public void handInHomework(String name) {
        studentService.handInHomework(name);
        log.info("班长收集作业，统一上交");
    }
}